
from django.urls import path
from rest_framework import routers
from rest_framework_jwt.views import obtain_jwt_token
from account import views

urlpatterns = [
    path('login', obtain_jwt_token, name='login'),
    path('add_friend', views.AddFriend.as_view(), name='add_friend'),
    path('remove_friend', views.RemoveFriend.as_view(), name='remove_friend'),
    path('search', views.SearchFriend.as_view(), name='search'),
    path('get_info', views.GetAccountInfo.as_view(), name='get_info'),
    path('get_qiniu_token', views.GetQiniuToken.as_view(), name="get_qiniu_token"),
    # path('test', views.NamekoViewSet.as_view(), name='test'),

]

